package com.microframework.boot.system.service;



import java.util.List;

import com.microframework.base.core.model.options.TreeNode;
import com.microframework.base.web.page.PageQuery;
import com.microframework.boot.system.model.domain.Menu;
import com.microframework.boot.system.model.response.SysRoute;

public interface IMenuService {

	List<SysRoute> getUserRoutes(String userId, String scope);

	List<TreeNode<Menu>> tree(PageQuery<Menu> pageQuery);

	List<Menu> loadAll(PageQuery<Menu> pageQuery);

	List<Menu> loadLazy(PageQuery<Menu> pageQuery);

}
